const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  publicPath:process.env.NODE_ENV=='production'?'/sph':'',
  transpileDependencies: true,
  productionSourceMap:false,
  //代理转发
  devServer: {
    proxy: {
      "/api": {
        target:"http://gmall-h5-api.atguigu.cn"
      }
    }
  }
})
